package com.mymall.member.feign;

import com.mymall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * FeignClient 标记这是一个远程调用客户端
 * value mymall-coupon标识从哪个服务去获取需要的服务
 */
@FeignClient("mymall-coupon")
public interface MemberCouponsService {

    @RequestMapping("/coupon/coupon/member/coupons")
    R memberList();

}
